var ghpages = require("gh-pages");
ghpages.publish(
  "./docs/.vuepress/dist",
  {
    branch: "gh-pages",
  },
  function (err) {
    if (err) {
      console.log("docs同步失败!");
      console.log(err);
    } else {
      console.log("docs同步完成!");
    }
  }
);
